package com.jcl.recruit.channel.service;

import com.jcl.core.utils.CollectionUtils;
import com.jcl.recruit.channel.logic.ChannelNetLogic;
import com.jcl.recruit.channel.model.ChannelNet;
import com.jcl.core.web.utils.RequestUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

/**
 * @ClassName ChannelNetBasicService

 * @Author yyliu
 * @Date 2018/12/11 16:56
 * @Version 1.0
 **/
@Service
public class ChannelNetBasicService {

    @Autowired
    private ChannelNetLogic channelNetLogic;


    public List<String> findAccountNoList(String channelType) {

        List<String> list = new ArrayList<>();
        String corpCode = RequestUtils.getCorpCode();
        List<ChannelNet> channelList = channelNetLogic.findListByActive(corpCode, channelType);
        if(CollectionUtils.isNotEmpty(channelList)){

        }

        return list;
    }

}
